package com.demo.shiroDemos.mapper;

import com.demo.shiroDemos.model.UserPerm;
import com.demo.shiroDemos.model.UserPermExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserPermMapper {
    int countByExample(UserPermExample example);

    int deleteByExample(UserPermExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UserPerm record);

    int insertSelective(UserPerm record);

    List<UserPerm> selectByExample(UserPermExample example);

    UserPerm selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UserPerm record, @Param("example") UserPermExample example);

    int updateByExample(@Param("record") UserPerm record, @Param("example") UserPermExample example);

    int updateByPrimaryKeySelective(UserPerm record);

    int updateByPrimaryKey(UserPerm record);
}